var width = window.innerWidth, height = window.innerHeight;

var $ = function() {
	return document.getElementById(arguments[0]);
}

var removeChildren = function() {
	var cell = $(arguments[0]);
	if (cell.hasChildNodes()) {
		while (cell.childNodes.length >= 1) {
			cell.removeChild(cell.firstChild);
		}
	}
}

var paper = new Raphael(0, 0, width, height);

var wall = paper.image("../static/img/wall.jpg", 0, 0, '100%', '100%');